import 'package:base_flutter/base_flutter.dart';
import 'package:flutter/material.dart';
import 'package:flutter/src/widgets/framework.dart';
import 'package:ls_work/res/colors.dart';
import 'package:ls_work/viewmodel/send_order/select_employee_view_model.dart';

class SelectEmployeePage extends BaseStatefulMvvmWidget{
  @override
  State<StatefulWidget> createState() => _SelectEmployeeState();


}

class _SelectEmployeeState extends BaseMvvmState<SelectEmployeeViewModel,SelectEmployeePage>{
  @override
  Widget buildLoadingContentView() {
    return viewModel.contentWidget();
  }

  @override
  Widget buildRootView(BuildContext context, Widget loadingContentWidget) {
    return Scaffold(
      appBar: AppBar(title: Text('选择'),),
      backgroundColor: Colours.bg_color,
      body: loadingContentWidget,
    );
  }

  @override
  SelectEmployeeViewModel createViewModel() {
    return SelectEmployeeViewModel(context);
  }

  @override
  void onRetryClick() {
  }

}